<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>信息添加完成</title>
<link rel="stylesheet" href="ext3.4/resources/css/ext-all.css" type="text/css"></link>
<script type="text/javascript" src="ext3.4/adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="ext3.4/ext-all.js"></script>
<script type="text/javascript" src="ext3.4/src/locale/ext-lang-zh_CN.js"></script>
<style type="text/css">
	h4{ background:#00afb9; color:#fff; padding-left:15px; line-height:30px; width:490px;}
</style>
<script type="text/javascript">
function closea(){
	var tabPanel = window.parent.abc();
	if(!Ext.isEmpty(tabPanel)){
		var tabs = tabPanel.getComponent("addCarBaseInfo");
		if(tabs){
			tabs.destroy();
		}
		var tab02 = tabPanel.getComponent("carBaseInfo");
		if(!tab02){
			tab02 =	tabPanel.add({
	       		id:'carBaseInfo',
	            title:'车辆基本信息', 
	            html : '<iframe id="myframe" name="myframe" scrolling="auto" frameborder="0" width="100%" height="100%" allowtransparency="yes"  src="carInfo/carBaseInfoPage.action"></iframe>',
	            closable:true
			});
		}
		tabPanel.setActiveTab(tab02);
	}
}
</script>
  </head>
  <body>
  <h4>添加车辆信息完成！！！</h4>
  <a href="javascript:void(0);" onclick="closea()">关闭窗口</a>
  </body>
</html>
